Pixeldev\SquareWooSync\Woo\WooImport B

Total Complexity 84
Dependencies 4
Dependents 2
Total lines 610
Lines of code 435
Logical lines of code 218
Comment lines 82
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
format_product_for_square()
C
29
20 141
update_wc_product_with_square_ids()
A
49 12 31
update_square_inventory_counts()
A
49 8 29
get_square_option_value_id()
A
48 7 33
get_square_option_id()
S
47 6 38
import_products()
S
46 5 36
create_square_categories_from_woocommerce()
S
53 5 23
process_products()
S
54 4 20
send_inventory_updates_to_square()
S
56 3 18
find_square_category_id()
S
66 4 8
prepare_inventory_change()
S
59 3 14
create_square_category()
S
55 2 20
fetch_square_item_options()
S
69 2 7
fetch_square_categories()
S
69 2 7
wc_get_product_id_by_temp_id()
S
64 1 10